<!--
 * @Author: your name
 * @Date: 2022-01-21 10:38:39
 * @LastEditTime: 2022-02-13 09:25:00
 * @LastEditors: DESKTOP-EH1PJNP
 * @Description: 网易严选人气推荐
 * @FilePath: \xxtx_ui-demod:\Qweb\html\remake\网易严选--人气推荐.html
-->
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>网易严选人气推荐</title>
    <!-- 外部样式表 -->
    <!-- <link rel="stylesheet" href="style.css"> -->
    <!-- 内部样式表 -->
    <style>
        html,body{
            width: 1250px;
            margin: 0;
            padding: 0;
            color: #333333;
        }
        .header{
            margin-top: 60px;
            padding-top: 60px;
        }
        /* 选择器 */
        .popularity{
            margin-bottom: 60px;
            background-color: #f4f0eb;
            height: 780px;
        }
        .header>.name{
            margin: 0px 20px 0px 100px;
            padding-top: 0px;
            font-size: 28px;
            display: inline-block;
        }
        .header>.name:hover{
            color: #b1a07d;
            cursor: pointer;
        }
        .headerLeft{
            display: inline-block;
            margin: 10px 20px 10px 10px;
            padding-left: 10px;
            padding-right: 10px;
        }
        .headerLeft:hover{
            cursor: pointer;
            color: #b1a07d;
        }
        .checked{
            color: #b1a07d;
            border-bottom: 2px solid #b1a07d;
        }
        .headerRight{
            margin-right: 60px;
            display: inline;
            float: right;
            margin-top: 10px;
        }
        .headerRight:hover{
            cursor: pointer;
            color: #b1a07d;
        }
        .headerRight,.headerLeft{
            font-size: 14px;
        }
        #productItemFirst{
            margin-left: 0px;
            width: 390px;
            height: 570px;
        }
        #productItemFirst>img{
            border: 0px solid #b1a07d;
            margin: 40px 35px;
            transition: padding 2s;
            
        }
        #productItemFirst>img:hover{
            margin: 35px 30px;
            width: 336px;
            height: 336px;
            cursor: pointer;
            transition: padding 2s;
        }
        .productItem{
            margin-left: 10px;
            background-color: #fff;
            width: 223px;
            height: 280px;
            float: left;
        }
        /* .productItem>:nth-child(3){          
            height: 180px;
            margin: 0px 21.5px 0px 21.5px;
        }
        .productItem>:nth-child(3):hover{
            cursor: pointer;
            margin: 35px 30px;
        } */
        .product{
            margin-left: 100px;
        }
        .product>:nth-child(5),
        .product>:nth-child(6),
        .product>:nth-child(7){
            margin-top: 10px;
        }
        .title{
            width: 100%;
            text-align: center;
            border-top: 1px solid #f4f0eb;
        }
        .title>.name1{
            margin: 50px 71px 13px 71px;
            padding-top: 0px;
            font-size: 18px;
            display: inline-block;
        }
        .title>.name1:hover{
            color: #b1a07d;
            cursor: pointer;
        }
        .title>.price1{
            color: #D4282D;
            font-size: 18px;
        }
        /* 其余商品的img和title */
        #productItemSecond>img{
            border: 0px solid #b1a07d;
            margin: 0px 21.5px 0px 21.5px;
            width: 180px;
            height: 180px;
            transition: padding 2s;
        }
        #productItemSecond>img:hover{
            margin: 0px 23px 0px 23px;
            width: 189px;
            height: 189px;
            transition: padding 2s;
            cursor: pointer;
        }
        #productItemSecond > .title2{
            width: 100%;
            text-align: center;
            border-top: 1px solid #f4f0eb;
        }
        #productItemSecond > .title2 > .name2{
            padding-top: 24px;
            font-size: 13px;
            margin: 0px 43.5px 4px 43.5px;
            display: inline-block;
        }
        #productItemSecond > .title2 > .name2:hover{
            cursor: pointer;
            color: #b1a07d;
        }
        #productItemSecond > .title2 > .price2{
            margin-top: 0px;
            padding-top: 1px;
            padding-bottom: 9px;
            font-size: 13px;
            color: #D4282D;
        }

    </style>
</head>
<body>
    <div class="popularity">
        <div class="header">
            <h3 class="name">人气推荐</h3>
            <div class="headerLeft checked" >编辑推荐</div>
            <div class="headerLeft">热销总榜</div>
            <div class="headerRight">更多推荐></div>
        </div>
        <div class="product">
            <div id="productItemFirst" class="productItem">
                <img src="https://yanxuan-item.nosdn.127.net/ff10d4706b3f118bd24b1bbb16315180.png?type=webp&quality=95&thumbnail=320x320&imageView" alt="图片丢失">
              <div class="title">
                  <h4 class="name1">【任选专享】虎皮凤爪</h4>
                  <p class="price1">¥22</p>               
              </div>
            </div>
            <div id="productItemSecond" class="productItem">
                <img src="https://yanxuan-item.nosdn.127.net/d321d9d51d6b742521eb4cfcd33d62b5.png?type=webp&quality=95&thumbnail=180y180&imageView" alt="图片丢失">
                <div class="title2">
                    <h4 class="name2">“酥脆咖啡”饼干 意式340克+美式340克</h4>
                    <p class="price2">¥22</p>               
                </div>
            </div>
            <div class="productItem">3</div>
            <div class="productItem">4</div>
            <div class="productItem">5</div>
            <div class="productItem">6</div>
            <div class="productItem">7</div>
        </div>
    </div>
</body>
</html>